//--- OBJECT WRITE BEGIN ---
new GuiChunkedBitmapCtrl(TKDA_office1) {
   canSaveDynamicFields = "1";
   Profile = "GuiDefaultProfile";
   HorizSizing = "relative";
   VertSizing = "relative";
   position = "0 0";
   Extent = "800 600";
   MinExtent = "8 2";
   canSave = "1";
   Visible = "1";
   hovertime = "1000";
   bitmap = "~/client/ui/images/background.png";
   useVariable = "0";
   tile = "0";
      deskObject = "office1_deskControl";
      lastCreated = "NULL";
      gChairObject = "office1_gChairControl";
      qualityText = "office1_qualityText";
      wallGui3 = "office1_westBitmap";
      bookCaseObject = "office1_bookcaseControl";
      updateSchedule = "420";
      room = "1972";
      costText = "office1_costText";
      wallGui1 = "office1_eastBitmap";
      wallGui0 = "office1_northBitmap";
      objectSet = "1975";
      objectList = "office1_objectList";
      costLabel = "office1_costLabel";
      dChairObject = "office1_dChairControl";
      typeText = "office1_typeText";
      currentPiece = "NULL";
      wallGui2 = "office1_southBitmap";
      grids = "officeOneGrids";
      lampObject = "office1_lampControl";
      tempRoom = "1973";
      viewObj = "office1_viewObject";
      plantObject = "office1_plantControl";

   new GuiBitmapButtonCtrl(office1_applyBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "644 552";
      Extent = "132 36";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "applyoffice1Changes();";
      tooltipprofile = "GuiToolTipProfile";
      ToolTip = "Left click to apply your changes to this office";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/applyBtn";
   };
   new GuiBitmapButtonCtrl(office1_cancelBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "352 552";
      Extent = "132 36";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "cancelRoomChanges(TKDA_office1);";
      tooltipprofile = "GuiToolTipProfile";
      ToolTip = "Left click to exit office editor and reset settings";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/cancelBtn";
   };
   new GuiBitmapButtonCtrl(office1_resetBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "500 552";
      Extent = "132 36";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "resetRoom(TKDA_office1);";
      tooltipprofile = "GuiToolTipProfile";
      ToolTip = "Left click to reset the room";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/resetBtn";
   };
   new GuiBitmapButtonCtrl(office1_undoBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "648 300";
      Extent = "132 36";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "undoLastCreated(TKDA_office1);";
      tooltipprofile = "GuiToolTipProfile";
      ToolTip = "Left click to see this button in action";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/undoBtn";
   };
   new GuiBitmapButtonCtrl(office1_deleteBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "650 340";
      Extent = "132 39";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "deleteCurrentObject(TKDA_office1);";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/delete";
   };
   new GuiBitmapButtonCtrl(office1_LRotateBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "37 503";
      Extent = "69 54";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      Command = "rotatePieceLeft(TKDA_office1.currentPiece);";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Lrotate";
   };
   new GuiBitmapButtonCtrl(office1_RRotateBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "114 503";
      Extent = "69 54";
      MinExtent = "69 54";
      canSave = "1";
      Visible = "1";
      Command = "rotatePieceRight(TKDA_office1.currentPiece);";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rrotate";
   };
   new GuiBitmapButtonCtrl(office1_UpArrowBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "233 475";
      Extent = "38 32";
      MinExtent = "38 32";
      canSave = "1";
      Visible = "1";
      Command = "moveObjUp(TKDA_office1.currentPiece);";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Uarrow";
   };
   new GuiBitmapButtonCtrl(office1_DownArrowBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "233 544";
      Extent = "38 32";
      MinExtent = "38 32";
      canSave = "1";
      Visible = "1";
      Command = "moveObjDown(TKDA_office1.currentPiece);";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Darrow";
   };
   new GuiBitmapButtonCtrl(office1_LeftArrowBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "202 505";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "moveObjLeft(TKDA_office1.currentPiece);";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_RightArrowBtn) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "270 505";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "moveObjRight(TKDA_office1.currentPiece);";
      hovertime = "1000";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiTextCtrl(office1_costLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "65 63";
      Extent = "18 18";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "480";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_cost) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "31 63";
      Extent = "34 18";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Cost: $";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1) {
      canSaveDynamicFields = "0";
      Profile = "TKDARoomGuiTextProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "27 30";
      Extent = "112 40";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Office 1";
      maxLength = "1024";
   };
   new GuiBitmapCtrl(office1Bitmap) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "16 136";
      Extent = "316 316";
      MinExtent = "316 316";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      bitmap = "~/client/ui/images/TKDA_office1.png";
      wrap = "0";
   };
   new GuiPopUpMenuCtrl(office1_objectList) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiPopUpMenuProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "352 360";
      Extent = "160 20";
      MinExtent = "160 20";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      maxLength = "1024";
      maxPopupHeight = "200";
   };
   new GuiTextCtrl(office1_typeLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "352 292";
      Extent = "30 18";
      MinExtent = "30 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Type:";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_fCostLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "352 312";
      Extent = "34 18";
      MinExtent = "30 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Cost: $";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_qualityLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "352 332";
      Extent = "40 18";
      MinExtent = "40 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Quality:";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_typeText) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "388 292";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_costText) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "388 312";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_qualityText) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "388 332";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      maxLength = "1024";
   };
   new GuiBitmapCtrl(office1_furnitureButtonBackground) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "340 0";
      Extent = "460 300";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      bitmap = "~/client/ui/images/infoWindow.png";
      wrap = "0";
   };
   new GuiBitmapButtonCtrl(office1_deskLesser) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "372 108";
      Extent = "32 40";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_deskLesser.selectLesser(office1_deskControl);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_deskGreater) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "424 108";
      Extent = "32 40";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_deskGreater.selectGreater(office1_deskControl);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_deskSelectBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "384 40";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      Command = "createFurnitureObject(TKDA_office1.tempRoom, TKDA_office1.deskObject);";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Desk Display";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/desk1";
   };
   new GuiBitmapButtonCtrl(office1_gChairLesser) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "528 108";
      Extent = "32 40";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_gChairLesser.selectLesser(office1_gChairControl);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_gChairGreater) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "576 108";
      Extent = "32 40";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_gChairGreater.selectGreater(office1_gChairControl);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_gChairSelectBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "536 40";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      Command = "createFurnitureObject(TKDA_office1.tempRoom, TKDA_office1.gChairObject);";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Guest Chair Display";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/gChair1";
   };
   new GuiBitmapButtonCtrl(office1_dChairLesser) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "668 108";
      Extent = "32 40";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_dChairLesser.selectLesser(office1_dChairControl);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_dChairGreater) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "720 108";
      Extent = "32 40";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_dChairGreater.selectGreater(office1_dChairControl);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_dChairSelectBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "676 40";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      Command = "createFurnitureObject(TKDA_office1.tempRoom, TKDA_office1.dChairObject);";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Desk Chair Display";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/dChair1";
   };
   new GuiBitmapButtonCtrl(office1_plantLesser) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "668 248";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_plantLesser.selectLesser(office1_plantControl);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_plantGreater) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "720 248";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_plantGreater.selectGreater(office1_plantControl);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_plantSelectBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "676 176";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      Command = "createFurnitureObject(TKDA_office1.tempRoom, TKDA_office1.plantObject);";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Plant Display";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/plant1_0";
   };
   new GuiBitmapButtonCtrl(office1_bookcaseLesser) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "372 248";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_bookcaseLesser.selectLesser(office1_bookcaseControl);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_bookcaseGreater) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "424 248";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_bookcaseGreater.selectGreater(office1_bookcaseControl);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_bookcaseSelectBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "384 176";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      Command = "createFurnitureObject(TKDA_office1.tempRoom, TKDA_office1.bookCaseObject);";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Bookcase Display";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/bookcase1_0";
   };
   new GuiBitmapButtonCtrl(office1_lampLesser) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "528 248";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_lampLesser.selectLesser(office1_lampControl);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_lampGreater) {
      canSaveDynamicFields = "1";
      class = "qualitySelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "576 248";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_lampGreater.selectGreater(office1_lampControl);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_lampSelectBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "536 176";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      Command = "createFurnitureObject(TKDA_office1.tempRoom, TKDA_office1.lampObject);";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Lamp Display";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/lamp1_0";
   };
   new GuiBitmapCtrl(office1_wallButtonBackground) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "332 384";
      Extent = "460 160";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      bitmap = "~/client/ui/images/infoWindow.png";
      wrap = "0";
   };
   new GuiBitmapButtonCtrl(office1_northLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "368 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_northLesser.selectLesser(TKDA_office1.tempRoom, 0);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_northBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "380 424";
      Extent = "64 64";
      MinExtent = "64 64";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(office1_northGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "420 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_northGreater.selectGreater(TKDA_office1.tempRoom, 0);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_southLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "468 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_northLesser.selectLesser(TKDA_office1.tempRoom, 2);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_southBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "480 424";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Click to create a desk";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(office1_southGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "520 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_southGreater.selectGreater(TKDA_office1.tempRoom, 2);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_eastLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "568 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_northLesser.selectLesser(TKDA_office1.tempRoom, 1);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_eastBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "580 424";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Click to create a desk";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(office1_eastGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "620 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_eastGreater.selectGreater(TKDA_office1.tempRoom, 1);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapButtonCtrl(office1_westLesser) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "668 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_northLesser.selectLesser(TKDA_office1.tempRoom, 3);";
      hovertime = "1000";
      text = "Left";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Larrow";
   };
   new GuiBitmapButtonCtrl(office1_westBitmap) {
      canSaveDynamicFields = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "680 424";
      Extent = "64 64";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      tooltipprofile = "GuiDefaultProfile";
      ToolTip = "Click to create a desk";
      hovertime = "500";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/furniture/wall1.png";
   };
   new GuiBitmapButtonCtrl(office1_westGreater) {
      canSaveDynamicFields = "1";
      class = "wallSelection";
      Profile = "GuiButtonProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "720 496";
      Extent = "32 39";
      MinExtent = "32 39";
      canSave = "1";
      Visible = "1";
      Command = "office1_westGreater.selectGreater(TKDA_office1.tempRoom, 3);";
      hovertime = "1000";
      text = "Right";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "~/client/ui/images/Rarrow";
   };
   new GuiBitmapCtrl(office1_viewObject) {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "540 308";
      Extent = "60 60";
      MinExtent = "60 60";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      wrap = "0";
   };
   new GuiTextCtrl(office1_northWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "384 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "North Wall";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_southWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "484 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "South Wall";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_eastWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "588 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "East Wall";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_westWallLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "684 400";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "West Wall";
      maxLength = "1024";
   };
   new GuiBitmapCtrl() {
      canSaveDynamicFields = "0";
      Profile = "GuiDefaultProfile";
      HorizSizing = "right";
      VertSizing = "bottom";
      position = "24 145";
      Extent = "300 300";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "0";
      hovertime = "1000";
      bitmap = "~/client/ui/images/grid.png";
      wrap = "0";
   };
   new GuiTextCtrl(office1_bookcaseLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "392 152";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Bookcase";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_lampLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "552 152";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Lamp";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_plantLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "696 152";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Plant";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_dChairLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "680 16";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Desk Chair";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_gCHairLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "540 16";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Guest Chair";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_deskLabel) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "397 16";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Desk";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_Rotation) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "92 461";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Rotation";
      maxLength = "1024";
   };
   new GuiTextCtrl(office1_Movement) {
      canSaveDynamicFields = "0";
      Profile = "TKDAGuiTextProfile";
      HorizSizing = "relative";
      VertSizing = "relative";
      position = "229 461";
      Extent = "60 18";
      MinExtent = "60 18";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      text = "Movement";
      maxLength = "1024";
   };
};
//--- OBJECT WRITE END ---
function TKDA_office1::onWake(%this)
{
   updateRoomObject(office1_gChairControl);
   updateRoomObject(office1_deskControl);
   updateRoomObject(office1_bookcaseControl);
   updateRoomObject(office1_lampControl);
   updateRoomObject(office1_dChairControl);
   updateRoomObject(office1_plantControl);
   updateRoomObject(office1_bookcaseControl);
   updateRoomWall(TKDA_office1.temproom, 0);
   updateRoomWall(TKDA_office1.temproom, 1);
   updateRoomWall(TKDA_office1.temproom, 2);
   updateRoomWall(TKDA_office1.temproom, 3);
}
